<?php

interface Kernel_Form_Element_Filter_Interface
{
    
    /**
     * Returns the result of filtering $value
     *
     * @param  mixed $value
     * @param  array $values
     * @throws Kernel_firm_Element_Filter_Exception If filtering $value is impossible
     * @return mixed
     */
    public function filter($value, array $values = array());
    
}
